package org.example.travel_web.dto.attraction;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "景点请求")
public class AttractionReq {
    /**
     * 景点 ID
     */
    @Schema(description = "景点 ID")
    private Integer attractionId;

    /**
     * 景点名称
     */
    @Schema(description = "景点名称")
    @NotBlank(message = "景点名称不能为空")
    private String name;

    /**
     * 分类 ID
     */
    @Schema(description = "分类 ID")
//    @NotNull(message = "分类 ID 不能为空")
    private Integer categoryId;

    /**
     * 封面
     */
    @Schema(description = "封面")
    private String pic;

    /**
     * 详情图片
     */
    @Schema(description = "详情图片")
    private String images;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private BigDecimal latitude;

    /**
     * 经度
     */
    @Schema(description = "经度")
    private BigDecimal longitude;

    /**
     * 特色亮点
     */
    @Schema(description = "特色亮点")
//    @NotBlank(message = "特色亮点不能为空")
    private String features;

    /**
     * 景点描述
     */
    @Schema(description = "景点描述")
    @NotBlank(message = "景点描述不能为空")
    private String description;
}
